home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / trubasic / rolldemos / demos / interact / aboutact.tru next >
Text File  |  1994-08-02  |  2KB  |  77 lines

  1. ! description of interactive demos
  2.  
  3. call tw_wset_size(0,684,684)
  4. call tw_wset_title(0,"About Interactive Demos")
  5. set text justify "center","base"
  6.  
  7. call info
  8.  
  9. do
  10.     if refresh(0)=1 then call info
  11.         get mouse x,y,state
  12.         if state<>0 then stop
  13. loop
  14.  
  15. sub info
  16. clear
  17. print
  18. print
  19. print
  20. print
  21. let a$="Interactive Demos"
  22. set color "magenta"
  23. set text justify "center","bottom"
  24. let r=setfontsize(18)
  25. plot text, at .5,.94: a$
  26. set color "blue"
  27. let t=strwidth(a$)
  28. box area .5-t/2,.5+t/2,.92,.93
  29. box area 0,.01,0,1
  30. box area 0,1,.99,1
  31. box area .99,1,0,1
  32. box area 0,1,0,.01
  33. set color "white"
  34. print
  35. print "     The interactive demos taken from the 3D Graphics Toolkit" 
  36. print "  demonstrate the ability to set the camera position in 3D space."
  37. print
  38. print "     Some of these demos require you to enter the position in x, y, z "
  39. print "  coordinates while others take snapshots from various perspectives"
  40. print "  and then replay the images to animate the object.  The colormap-"
  41. print "  oriented demos show how True BASIC handles shared and dynamic color "
  42. print "  cells."
  43. print
  44. print "  The following demo programs include:"
  45. print
  46. print "         house3          look at a house from various perspective"
  47. print "                         viewpoints."
  48. print
  49. print "         record          record a series of perspective images of"
  50. print "                         the house and then replay them to animate"
  51. print "                         the house spinning."
  52. print
  53. print "         tbedit          adjust the RGB mix of a True BASIC color"
  54. print "                         using slider bars and the mouse."
  55. print
  56. print "         tbmap           draw a mesh where each cell represents a"
  57. print "                         colormap entry."
  58. print
  59. print "         zplot3          show a 3D plot of a peculiar function and"
  60. print "                         let the user pick a new camera position."
  61. print
  62. print "     For zplot3 and house3, hit any key to bring up a prompt for the "
  63. print "  new camera position and ctrl-C to exit."
  64. print 
  65. print "     For record, the program makes graphics requests faster than the"
  66. print "  X server can handle them so that the response to ctrl-c and mouse"
  67. print "  clicks may be delayed slightly."
  68. print
  69. print "     Note that tbedit lets you adjust the color mix using the mouse."
  70. print "  To exit tbedit, you must hit a key rather than clicking the left"
  71. print "  mouse button."
  72. print
  73. print "              <click the left mouse button to continue>"
  74. end sub
  75.  
  76. end
  77.